package ${package.Controller};
import ${package.Service}.${table.serviceName};
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
<#if superControllerClassPackage??>
import ${superControllerClassPackage};
</#if>

/**
 * ${table.comment} 前端控制器
 * @author: ${author}
 * @since:  ${date}
 */
@RestController
@RequestMapping("/${table.entityPath}")
public class ${table.controllerName} {
	@Autowired
	private ${table.serviceName} ${table.serviceImplName};
}
